-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: [IOBP-1243,IOBP-1244,IOBP-1241] a11y improvements on payment method details card preview #6779
Conversation
PR Title Validation for conventional commit type✅ All good! PR title follows the conventional commit type. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #6779 +/- ##
=======================================
Coverage 50.94% 50.94%
=======================================
Files 1578 1578
Lines 32714 32714
Branches 7377 7377
=======================================
Hits 16665 16665
- Misses 16002 16003 +1
+ Partials 47 46 -1
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
🚀 New features to boost your workflow:
|
…tails' into IOBP-1243-a11y-payment-method-details
Good catch! Since the heading of the card and its validity is just a summary of the content and not interactive elements, I solved by removing the focus on the text inside the card and adding a wrapper container that announce the text summary inside. 34f46b6 Previewpreview.webm |
Short description
This PR improves the
a11y
behavior from the payment method detail screen by adding a more detailed summary label when focusing on the payment method card.List of changes proposed in this pull request
PayPalLogo
component inside aView
from thePaymentCard
component to be accessible with a description;accessibilityRole
to the view that wraps the payment card detail from the Payment method details;How to test
PayPal
is announced correctly when focusing on the payment card and thatValidity
is announced correctly if the payment is a card.